package com.service.impl;

import com.mapper.RaisingMapper;
import com.pojo.Raising;
import com.service.RaisingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Zhengjz
 * @version 1.0
 * @className RaisingServiceimpl
 * @date 2021/3/1 14:58
 */
@Service
public class RaisingServiceimpl implements RaisingService {

    @Autowired
    private RaisingMapper raisingMapper;


    @Override
    public List<Raising> findAllRaising() {
        return raisingMapper.findAllRaising();
    }

    @Override
    public List<Raising> findRsising() {
        return raisingMapper.findRsising();
    }


    @Override
    public List<Raising> findByName(String name) {
        return raisingMapper.findByName(name);
    }

    @Override
    public int rdel(String id) {
        return raisingMapper.rdel(id);
    }
}
